using System;
using System.Collections.Generic;
using System.Text;

namespace SharpMud.MudLib.NovaSMAUG.Interop.IO
{
    internal static class Debug
    {
        internal static System.Reflection.MethodBase getThisMethod()
        {
            System.Diagnostics.StackTrace st = new System.Diagnostics.StackTrace(1);
            return st.GetFrame(0).GetMethod();
        }
        internal static void bug(string message)
        {
            System.Diagnostics.Debug.WriteLine(message, "bug");
        }
        internal static void bug(string format, params object[] data)
        {
            bug(String.Format(format, data));
        }
    }
}
